package com.dreambreeze.common.utils;

/**
 * @description: 常量值
 * @auther: dream breeze
 * @date: 2019/07/22 20:08
 */
public final class ConstantKey {

    // 前后端交互状态码
    public static final Integer SUCCESS_CODE = 200;
    public static final String SUCCESS_MSG = "操作成功";
    public static final Integer FAIL_CODE = -1;
    public static final String FAIL_MSG = "操作失败";
    public static final Integer NODATA_CODE = -2;
    public static final String NODATA_MSG = "无数据";
    public static final String ERROR_PARAM = "参数错误";
    // 保存用户
    public static final String SESSION_USER = "USER";
    // 保存权限
    public static final String MAP_FUNCTION = "FUNCTION";
    // 字典表
    public static final String MAP_DICTIONARIES = "DICTIONARIES";
    // Token缓存标识
    public static final String MAP_CACHE_TOKEN_KEY = "TOKEN_KEY";
}
